package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.annotation.Dict;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自建混凝土拌合站报警管理业务对象 zj_n_warning_hnt
 *
 * @author zyb
 * @date 2023-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjNWarningHntBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 报警类型
     */
    @NotBlank(message = "报警类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 报警时间
     */
    @NotNull(message = "报警时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String insterTime;

    /**
     * 拌合站
     */
    @NotBlank(message = "拌合站不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mixingStation;

    /**
     * 报警信息
     */
    @NotBlank(message = "报警信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String message;

    /**
     * 拌合站编号
     */
    @NotBlank(message = "拌合站编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stationCode;

    /**
     * 报警等级
     */
    @NotBlank(message = "报警等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String warningGrade;

    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long parentPkId;

    /**
     * 发送状态
     */
    @NotNull(message = "发送状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String send;

    /**
     * 项目名称
     */
    @NotNull(message = "项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projName;
    /**
     * 施工部位
     */
    @NotNull(message = "施工部位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String consPos;
    /**
     * 施工配合比
     */
    @NotNull(message = "施工配合比不能为空", groups = { AddGroup.class, EditGroup.class })
    private String recipe;

    /**
     * 拌合站编码
     */
    @NotNull(message = "拌合站编码", groups = { AddGroup.class, EditGroup.class })
    private String identifier;

    private Integer pageNum;

    private Integer pageSize;

    /**
     * 处置状态 1未处置2草稿3处置中4已确认5驳回
     */
    private Integer disposalStatus;

    /**
     * 盘序号
     */
    private Integer serial;
}
